#todo 918
zephyr_library()

zephyr_include_directories(src/BSP)
zephyr_include_directories(src/FWlib)
zephyr_include_directories(src/Tools)
zephyr_include_directories(src/hal_zephyr)
zephyr_include_directories(src/StartUP/ing916)
zephyr_include_directories(bundles/noos_mini/inc)
zephyr_library_sources(src/hal_zephyr/hal_zephyr.c)
zephyr_library_sources(src/hal_zephyr/gen_os_impl.c)
zephyr_library_sources(src/FWlib/peripheral_adc.c)
zephyr_library_sources(src/FWlib/peripheral_gpio.c)
zephyr_library_sources(src/FWlib/peripheral_i2c.c)
zephyr_library_sources(src/FWlib/peripheral_pinctrl.c)
zephyr_library_sources(src/FWlib/peripheral_pwm.c)
zephyr_library_sources(src/FWlib/peripheral_rtc.c)
zephyr_library_sources(src/FWlib/peripheral_ssp.c)
zephyr_library_sources(src/FWlib/peripheral_sysctrl.c)
zephyr_library_sources(src/FWlib/peripheral_timer.c)
zephyr_library_sources(src/FWlib/peripheral_uart.c)
zephyr_library_sources(src/FWlib/peripheral_comparator.c)
zephyr_library_sources(src/FWlib/peripheral_dma.c)
zephyr_library_sources(src/FWlib/peripheral_efuse.c)
zephyr_library_sources(src/FWlib/peripheral_i2s.c)
zephyr_library_sources(src/FWlib/peripheral_ir.c)
zephyr_library_sources(src/FWlib/peripheral_keyscan.c)
zephyr_library_sources(src/FWlib/peripheral_pdm.c)
zephyr_library_sources(src/FWlib/peripheral_pte.c)
zephyr_library_sources(src/FWlib/peripheral_qdec.c)
zephyr_library_sources(src/FWlib/peripheral_usb.c)
zephyr_library_sources(src/Tools/trace.c)
zephyr_library_sources(src/BSP/eflash.c)
add_definitions(-DUSE_STDPERIPH_DRIVER)
add_definitions(-DPOWER_SAVING)
add_definitions(-DLISTEN_TO_POWER_SAVING)
add_definitions(-DINGCHIPS_FAMILY_916=1)